package com.gitee.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName(value = "t_order_item")
public class OrderItem {

    @TableId(type = IdType.AUTO)
    private Integer id;

    private Integer orderId;

    private Integer foodId;

    private String foodTitle;

    private String foodDesc;

    private String foodImg;

    private BigDecimal foodUnitPrice;

    private Integer foodNum;

    private BigDecimal foodTotalPrice;

    private Date createTime;

    private Date updateTime;
}
